package com.yic.module.wms.controller.admin.itemwarehouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 产品仓储信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ItemWarehouseRespVO extends ItemWarehouseBaseVO {

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11901")
    private Long id;

    @Schema(description = "首次入库日")
    private LocalDateTime firstInTime;

    @Schema(description = "最后入库日")
    private LocalDateTime lastInTime;

    @Schema(description = "最后出库日")
    private LocalDateTime lastOutTime;

    @Schema(description = "库存")
    private BigDecimal stock;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "工厂")
    private String factoryName;

    @Schema(description = "产品名称")
    private String itemName;

    @Schema(description = "产品代码")
    private String itemCode;

    @Schema(description = "产品规格")
    private String itemSpec;

    @Schema(description = "产品图号")
    private String drawCode;

    @Schema(description = "仓库")
    private String warehouseName;

    @Schema(description = "库区")
    private String areaName;

    @Schema(description = "库位")
    private String locationName;

}
